package web.servlet.g_tag;

import java.util.ArrayList;
import java.util.List;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class TestTag extends ActionSupport {

	public String execute() throws Exception {
		
		List<String > list =new ArrayList<String>();
		
		list.add("星期一");
		list.add("星期二");
		list.add("星期三");
		list.add("星期四");
		list.add("星期五");
		list.add("星期六");
		list.add("星期七");
		ActionContext.getContext().put("list", list);
		return SUCCESS;
	}

}
